﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SCS.Common.Models;
namespace SCS.DAL
{
    public interface IParentRepository : IRepository<Grade>
    {
        int GetCount();
        int GetSearchCount(DateTime firstDate, DateTime lastDate);
        int GetSearchCount(DateTime firstDate, DateTime lastDate, int classID);
        int GetSearchCount(int learnerID, DateTime firstDate, DateTime lastDate);
        int GetSearchCount(int learnerID, int subjectID);
        IList<Grade> SearchGradeInTimePaging(int pageNumber, int pageSize, DateTime firstDate, DateTime lastDate);
        IList<Grade> SearchGradeInTimePaging(int learnerID, int pageNumber, int pageSize, DateTime firstDate, DateTime lastDate);
        IList<Grade> SearchGradesListPaging(int termID, int classID, int subjectID);
    }
}
